package com.aaa.member.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (CommonCustomer)实体类
 *
 * @author makejava
 * @since 2020-11-27 14:58:50
 */
public class CommonCustomer implements Serializable {
    private static final long serialVersionUID = 909924097778303822L;
    /**
     * 常用租车人id
     */
    private Integer id;
    /**
     * 外键
     */
    private Integer memberId;
    /**
     * 姓名
     */
    private String name;
    /**
     * 手机
     */
    private String phoneNum;
    /**
     * 证件类型（身份证）
     */
    private String credentialsType;
    /**
     * 身份证号
     */
    private String idNumber;
    /**
     * 领取驾照时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss")//处理接收参数
    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss")
    private Date getlicenseTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getCredentialsType() {
        return credentialsType;
    }

    public void setCredentialsType(String credentialsType) {
        this.credentialsType = credentialsType;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Date getGetlicenseTime() {
        return getlicenseTime;
    }

    public void setGetlicenseTime(Date getlicenseTime) {
        this.getlicenseTime = getlicenseTime;
    }

}